package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.pojo.User;
import org.springframework.stereotype.Repository;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-08-29
 * Time: 10:22
 */

//在对应的Mapper上面基础基本的类 BaseMapper <>  <>中写对应的实体类类型
    @Repository
public interface UserMapper extends BaseMapper<User> {
        //至此CURD已经完成,不需要像以前那样编写一堆 mapper 和 xml
}
